-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update apollo graphql packages - abandoned #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Netlify BOT Built with commit 7fd9c20 |
cf2fd52 to
5c80e2d
Compare
5c80e2d to
574b81d
Compare
9a9b704 to
ab2a432
Compare
c2f8760 to
e8d7996
Compare
80d5986 to
b84484f
Compare
b84484f to
a6b6b3e
Compare
a6b6b3e to
573f6c5
Compare
573f6c5 to
03317ff
Compare
42e4a62 to
5a2fb46
Compare
5a2fb46 to
98cb9ad
Compare
98cb9ad to
8b58741
Compare
8b58741 to
4e1991d
Compare
4e1991d to
3ced4b6
Compare
3ced4b6 to
8e13a93
Compare
8e13a93 to
e694cfd
Compare
e694cfd to
7fd9c20
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
This PR contains the following updates:
1.4.2->1.6.62.4.12->2.6.101.5.9->1.5.172.4.1->2.5.8Release Notes
apollographql/apollo-client
v1.6.6Compare Source
v1.6.5Compare Source
v1.6.3Compare Source
v1.6.2Compare Source
v1.6.1Compare Source
__typenameexists on the root Query when matching fragments.@benjamn in #4853
v1.6.0Compare Source
Support
new InMemoryCache({ freezeResults: true })to help enforce immutability.@benjamn in #4514
Allow
IntrospectionFragmentMatcherto match fragments against the rootQuery, asHeuristicFragmentMatcherdoes.@rynobax in #4620
Rerential identity (
===) of arrays in cache results will now be preserved for unchanged data.@benjamn in commit f3091d6a
Avoid adding
__typenamefield to@clientselection sets that have been@exported as input variables.@benjamn in #4784
v1.5.1Compare Source
v1.5.0Compare Source
v1.4.3Compare Source
apollographql/apollo-link
v1.5.17Compare Source
v1.5.16Compare Source
v1.5.15Compare Source
v1.5.14Compare Source
v1.5.13Compare Source
v1.5.12Compare Source
@mouafa in #921
v1.5.11Compare Source
v1.5.10Compare Source
apollographql/react-apollo
v2.5.8Compare Source
2.5.8 (2019-06-21)
Bug Fixes
apollo-client2.6.3'sObservableQuery.resetQueryStoreErrorsmethod optional, for people who can't update to
react-apollo's newapollo-clientpeer dep of 2.6.3.@hwillson in #3151
v2.5.7Compare Source
Improvements
MockedProvideris using the proper CJS/ESM bundle, whenreferencing
ApolloProvider.@jure in #3029.
ApolloContextdefinition to play a bit more nicely withReact.createContexttypes.@JoviDeCroock in #3018
when using the
graphqlHOC.@andycarrell in #3008
MockLinkto improvedebugging experience used by
MockedProvider.@evans in #3078
Bug Fixes
apollo-client@betapeer dep.@brentertz in #3064
null, when using thegraphqlHOC.@ZhengYuTay in #3056
querybeing mandatory in thefetchMoresignature.@HsuTing in #3065
Querycomponent to get stuck in an alwaysloading state, caused by receiving an error (meaning subsequent valid
responses couldn't be handled). The
Querycomponent can now handle anerror in a response, then continue to handle a valid response afterwards.
@hwillson in #3107
Subscriptioncomponent code to avoid setting state on unmountedcomponent.
@jasonpaulos in #3139
loadingstate fornetwork-onlyfetch policy.@jasonpaulos in #3126
v2.5.6Compare Source
Improvements
Both the
Querycomponent andgraphqlHOC now accept areturnPartialDataprop. This is an important new feature, that shouldhelp address a lot of open Apollo Client / React Apollo issues, so we'll
explain it here with an example. Before this release, if you run a query
that looks like:
in one component, the results are cached, then you run a superset query like
the following in another component:
Apollo Client will not re-use the partial data that was cached from the first
query, when it preps and displays the second component. It can't find a
cache hit for the full second query, so it fires the full query over the
network.
With this release, if you set a
returnPartialDataprop totrueon thesecond component, the
dataavailable to that component will beautomatically pre-loaded with the parts of the query that can be found in the
cache, before the full query is fired over the network. This means you can
do things like showing partial data in your components, while the rest of the
data is being loaded over the network.
v2.5.5Compare Source
Improvements
ApolloContext).@MrLoh in #2961
v2.5.4Compare Source
Bug Fixes
Could not find "client" in the context of ApolloConsumererrors whenusing
MockedProvider.@hwillson in #2907
Querycomponents using afetchPolicyofno-cachehave theirdata preserved when the components tree is re-rendered.
@hwillson in #2914
Improvements
@afenton90 in #2932
v2.5.3Compare Source
Bug Fixes
setStatein theonError/onCompletedcallbacks of theQuerycomponent.@chenesan in #2751
Querycomponent, after an error was received, variables were adjusted, and then
the good data was fetched.
@MerzDaniel in #2718
Querycomponent updates from firing (undercertain circumstances) due to the internal
lastResultvalue (that's usedto help prevent unnecessary re-renders) not being updated.
@Glennrs in #2840
Improvements
MockedProvidernow accepts achildPropsprop that can be used to passprops down to a child component.
@miachenmtl in #2482
onCompletedcallbacks now use a destructuring-friendly type definition.@jozanza in #2496
@connectiondirectives are now properly stripped fromMockedResponse's,when using
MockedProvider.@ajmath in #2523
MockedProviderhas been updated to stop setting a defaultresolversvalue of
{}, which means by default Apollo Client 2.5 local resolverfunctionality is not enabled when mocking with
MockedProvider. This allows@clientfields to be passed through the mocked link chain, like peoplewere used to before AC 2.5. When using this default mode you will see a
dev only warning message about this like:
This message can be safely ignored. If you want to use
MockedProviderwith AC 2.5's new local resolver functionality, you can pass your local
resolver map into the
MockedProviderresolversprop.@ajmath in #2524
Improvements to the
graphqlHOC generics forfetchMoreandrefetch.@EricMcRay in #2525
The
ApolloProvider/ApolloConsumerimplementations have been refactoredto use React 16.3's new context API.
@wzrdzl in #2540
All
dependenciesanddevDependencieshave been updated to their latestversions, and related Typescript changes have been applied.
@hwillson in #2873
v2.5.2Compare Source
Bug Fixes
Contexttype fromtypes.tsinstead ofwalkTree.ts,to reenable
import { Context } from 'react-apollo'(which has beenbroken since 2.4.0).
@benjamn in #2825
Improvements
Add
examples/rollupto enable application-level bundle measurement and demonstrate Rollup configuration best practices.
@benjamn in #2839
Bundle size reductions inspired by
examples/rollupapp.@benjamn in #2842
v2.5.1Compare Source
Bug Fixes
MockedProviderenables Apollo Client 2.5's local state handling,and allow custom / mocked resolvers to be passed in as props, and used with
the created test
ApolloClientinstance.@hwillson in #2825
v2.5.0Compare Source
Improvements
features, as well as many overall code improvements to help reduce the React
Apollo bundle size.
#2758
MockedResponseresultwhen usingMockedProvider, such that every time the mocked result is returned,the function is run to calculate the result. This opens up new testing
possibilities, like being able to verify if a mocked result was actually
requested and received by a test.
@hwillson in #2788
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.